import { test } from '@/service/deliver';
import { Button, Card, Tabs } from 'antd';
import React from 'react';
import FollowReleasePlan from './components/FollowReleasePlan';
import ProjectList from './components/ProjectList';
const App = () => {
  const onTest = ()=>{
 test()
  }
  return (<Card>
    <Button onClick={onTest}>部署测试</Button>
    <Tabs
      items={[{
        key: '项目列表',
        label: '项目列表',
        children: <ProjectList />
      }, {
        key: '我关注的发布计划',
        label: '我关注的发布计划',
        children:<FollowReleasePlan/>
      }]}
    />
  </Card>)
}
export default App